﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class MasterPage : System.Web.UI.MasterPage
{
    protected void Page_Load(object sender, System.EventArgs e)
    {
        Application.Lock();
        Application["So_Truy_Cap"] = (int)Application["So_Truy_Cap"] + 1;
        Application.UnLock();

        SoTruyCapz.Text = Application["So_Truy_Cap"].ToString();
        soonlinez.Text = Application["So_Online"].ToString();

        if (Session["Logged"] == "1")
        {
            Paneldangky.Visible = false;
        }
        if (Session["Logged"] == "2")
        {
            trangquantri.Visible = true;
        }
    }
}
